package com.vcg.community.service;

import java.util.List;

import vc.dubbo.result.DubboResult;

import com.vcg.community.model.Resource;
import com.vcg.community.model.User;

public interface VoteService {
	DubboResult<List<Resource>> getVotedResources(Integer userId);
	DubboResult voteForResource(Integer userId,Integer resourceId);
	DubboResult<List<User>> getVotedUsers(Integer resourceId);

	DubboResult<List<Resource>> getVotedResources(String strUserId);
	DubboResult voteForResource(String strUserId,String strResourceId);
	DubboResult<List<User>> getVotedUsers(String strResourceId);

}
